﻿namespace GoodAdmin.System;

public class RoleResourceInfo
{
    /// <summary>
    /// 角色id
    /// </summary>
    public virtual long Id { get; set; }

    /// <summary>
    /// 资源信息
    /// </summary>
    public virtual List<ResourceInfo> Resources { get; set; }
}

public class RoleSelectorOutput
{
    public virtual long Id { get; set; }
    /// <summary>
    /// 权限名称
    /// </summary>
    public virtual string RoleName { get; set; }
    /// <summary>
    /// 权限编码
    /// </summary>
    public virtual string Code { get; set; }

}